package a16_visitor.oa_visitor_sample;

public class HRDepartment implements IDepartment {

	@Override
	public void visit(FullTimeEmployee employee) {
		System.out.println("HR部门计算全职员工出勤,员工名字：" + employee.getName());

	}

	@Override
	public void visit(PartTimeEmployee employee) {
		System.out.println("HR部门计算兼职员工出勤,员工名字：" + employee.getName());

	}

}
